home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / utility / tsbat50.zip / SKIP.BAT < prev    next >
DOS Batch File  |  1995-04-17  |  557b  |  24 lines

  1. @echo off
  2. if "%2"=="" goto _help
  3.  
  4. if exist %1 attrib +h %1
  5. call %2 %3 %4 %5 %6 %7 %8 %9
  6. if exist %1 attrib -h %1
  7. goto _out
  8.  
  9. :_help
  10. echo ┌───────────────────────────────────┐
  11. echo │ Perform commands, skipping files  │
  12. echo │ By prof. Timo Salmi Mon 17-Apr-95 │
  13. echo └───────────────────────────────────┘
  14. echo.
  15. echo Usage: SKIP FileToBeExcluded Command [param1] [param2] [...]
  16. echo.
  17. echo Multiple calls and wildcards are possible. For example:
  18. echo SKIP *.pas SKIP *.exe DIR
  19. echo.
  20. echo Requires at least MS-DOS version 5.0
  21. echo.
  22.  
  23. :_out
  24.